﻿using System.Collections.Generic;
using Lihong.Cms.Entities;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ViewComponents;

namespace Lihong.Cms.Views.Components
{
    public class ShowMenuViewComponent : ViewComponent
    {
        public IViewComponentResult Invoke(List<Menu> menus)
        {
            return View(menus);
        }
    }
}
